package com.ytjj.qmyx.mall.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductBrandExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductBrandExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSpecialIdIsNull() {
            addCriterion("special_id is null");
            return (Criteria) this;
        }

        public Criteria andSpecialIdIsNotNull() {
            addCriterion("special_id is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialIdEqualTo(String value) {
            addCriterion("special_id =", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdNotEqualTo(String value) {
            addCriterion("special_id <>", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdGreaterThan(String value) {
            addCriterion("special_id >", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdGreaterThanOrEqualTo(String value) {
            addCriterion("special_id >=", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdLessThan(String value) {
            addCriterion("special_id <", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdLessThanOrEqualTo(String value) {
            addCriterion("special_id <=", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdLike(String value) {
            addCriterion("special_id like", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdNotLike(String value) {
            addCriterion("special_id not like", value, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdIn(List<String> values) {
            addCriterion("special_id in", values, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdNotIn(List<String> values) {
            addCriterion("special_id not in", values, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdBetween(String value1, String value2) {
            addCriterion("special_id between", value1, value2, "specialId");
            return (Criteria) this;
        }

        public Criteria andSpecialIdNotBetween(String value1, String value2) {
            addCriterion("special_id not between", value1, value2, "specialId");
            return (Criteria) this;
        }

        public Criteria andBrandNameIsNull() {
            addCriterion("brand_name is null");
            return (Criteria) this;
        }

        public Criteria andBrandNameIsNotNull() {
            addCriterion("brand_name is not null");
            return (Criteria) this;
        }

        public Criteria andBrandNameEqualTo(String value) {
            addCriterion("brand_name =", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotEqualTo(String value) {
            addCriterion("brand_name <>", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameGreaterThan(String value) {
            addCriterion("brand_name >", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameGreaterThanOrEqualTo(String value) {
            addCriterion("brand_name >=", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameLessThan(String value) {
            addCriterion("brand_name <", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameLessThanOrEqualTo(String value) {
            addCriterion("brand_name <=", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameLike(String value) {
            addCriterion("brand_name like", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotLike(String value) {
            addCriterion("brand_name not like", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameIn(List<String> values) {
            addCriterion("brand_name in", values, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotIn(List<String> values) {
            addCriterion("brand_name not in", values, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameBetween(String value1, String value2) {
            addCriterion("brand_name between", value1, value2, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotBetween(String value1, String value2) {
            addCriterion("brand_name not between", value1, value2, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandLogoIsNull() {
            addCriterion("brand_logo is null");
            return (Criteria) this;
        }

        public Criteria andBrandLogoIsNotNull() {
            addCriterion("brand_logo is not null");
            return (Criteria) this;
        }

        public Criteria andBrandLogoEqualTo(String value) {
            addCriterion("brand_logo =", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoNotEqualTo(String value) {
            addCriterion("brand_logo <>", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoGreaterThan(String value) {
            addCriterion("brand_logo >", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoGreaterThanOrEqualTo(String value) {
            addCriterion("brand_logo >=", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoLessThan(String value) {
            addCriterion("brand_logo <", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoLessThanOrEqualTo(String value) {
            addCriterion("brand_logo <=", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoLike(String value) {
            addCriterion("brand_logo like", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoNotLike(String value) {
            addCriterion("brand_logo not like", value, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoIn(List<String> values) {
            addCriterion("brand_logo in", values, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoNotIn(List<String> values) {
            addCriterion("brand_logo not in", values, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoBetween(String value1, String value2) {
            addCriterion("brand_logo between", value1, value2, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandLogoNotBetween(String value1, String value2) {
            addCriterion("brand_logo not between", value1, value2, "brandLogo");
            return (Criteria) this;
        }

        public Criteria andBrandStoryIsNull() {
            addCriterion("brand_story is null");
            return (Criteria) this;
        }

        public Criteria andBrandStoryIsNotNull() {
            addCriterion("brand_story is not null");
            return (Criteria) this;
        }

        public Criteria andBrandStoryEqualTo(String value) {
            addCriterion("brand_story =", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryNotEqualTo(String value) {
            addCriterion("brand_story <>", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryGreaterThan(String value) {
            addCriterion("brand_story >", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryGreaterThanOrEqualTo(String value) {
            addCriterion("brand_story >=", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryLessThan(String value) {
            addCriterion("brand_story <", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryLessThanOrEqualTo(String value) {
            addCriterion("brand_story <=", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryLike(String value) {
            addCriterion("brand_story like", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryNotLike(String value) {
            addCriterion("brand_story not like", value, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryIn(List<String> values) {
            addCriterion("brand_story in", values, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryNotIn(List<String> values) {
            addCriterion("brand_story not in", values, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryBetween(String value1, String value2) {
            addCriterion("brand_story between", value1, value2, "brandStory");
            return (Criteria) this;
        }

        public Criteria andBrandStoryNotBetween(String value1, String value2) {
            addCriterion("brand_story not between", value1, value2, "brandStory");
            return (Criteria) this;
        }

        public Criteria andIsSelectedIsNull() {
            addCriterion("is_selected is null");
            return (Criteria) this;
        }

        public Criteria andIsSelectedIsNotNull() {
            addCriterion("is_selected is not null");
            return (Criteria) this;
        }

        public Criteria andIsSelectedEqualTo(Integer value) {
            addCriterion("is_selected =", value, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedNotEqualTo(Integer value) {
            addCriterion("is_selected <>", value, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedGreaterThan(Integer value) {
            addCriterion("is_selected >", value, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_selected >=", value, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedLessThan(Integer value) {
            addCriterion("is_selected <", value, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedLessThanOrEqualTo(Integer value) {
            addCriterion("is_selected <=", value, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedIn(List<Integer> values) {
            addCriterion("is_selected in", values, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedNotIn(List<Integer> values) {
            addCriterion("is_selected not in", values, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedBetween(Integer value1, Integer value2) {
            addCriterion("is_selected between", value1, value2, "isSelected");
            return (Criteria) this;
        }

        public Criteria andIsSelectedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_selected not between", value1, value2, "isSelected");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageIsNull() {
            addCriterion("brand_bgimage is null");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageIsNotNull() {
            addCriterion("brand_bgimage is not null");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageEqualTo(String value) {
            addCriterion("brand_bgimage =", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageNotEqualTo(String value) {
            addCriterion("brand_bgimage <>", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageGreaterThan(String value) {
            addCriterion("brand_bgimage >", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageGreaterThanOrEqualTo(String value) {
            addCriterion("brand_bgimage >=", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageLessThan(String value) {
            addCriterion("brand_bgimage <", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageLessThanOrEqualTo(String value) {
            addCriterion("brand_bgimage <=", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageLike(String value) {
            addCriterion("brand_bgimage like", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageNotLike(String value) {
            addCriterion("brand_bgimage not like", value, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageIn(List<String> values) {
            addCriterion("brand_bgimage in", values, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageNotIn(List<String> values) {
            addCriterion("brand_bgimage not in", values, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageBetween(String value1, String value2) {
            addCriterion("brand_bgimage between", value1, value2, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andBrandBgimageNotBetween(String value1, String value2) {
            addCriterion("brand_bgimage not between", value1, value2, "brandBgimage");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNull() {
            addCriterion("is_show is null");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNotNull() {
            addCriterion("is_show is not null");
            return (Criteria) this;
        }

        public Criteria andIsShowEqualTo(Integer value) {
            addCriterion("is_show =", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotEqualTo(Integer value) {
            addCriterion("is_show <>", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThan(Integer value) {
            addCriterion("is_show >", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_show >=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThan(Integer value) {
            addCriterion("is_show <", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThanOrEqualTo(Integer value) {
            addCriterion("is_show <=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowIn(List<Integer> values) {
            addCriterion("is_show in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotIn(List<Integer> values) {
            addCriterion("is_show not in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowBetween(Integer value1, Integer value2) {
            addCriterion("is_show between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotBetween(Integer value1, Integer value2) {
            addCriterion("is_show not between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andBrandTitleIsNull() {
            addCriterion("brand_title is null");
            return (Criteria) this;
        }

        public Criteria andBrandTitleIsNotNull() {
            addCriterion("brand_title is not null");
            return (Criteria) this;
        }

        public Criteria andBrandTitleEqualTo(String value) {
            addCriterion("brand_title =", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleNotEqualTo(String value) {
            addCriterion("brand_title <>", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleGreaterThan(String value) {
            addCriterion("brand_title >", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleGreaterThanOrEqualTo(String value) {
            addCriterion("brand_title >=", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleLessThan(String value) {
            addCriterion("brand_title <", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleLessThanOrEqualTo(String value) {
            addCriterion("brand_title <=", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleLike(String value) {
            addCriterion("brand_title like", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleNotLike(String value) {
            addCriterion("brand_title not like", value, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleIn(List<String> values) {
            addCriterion("brand_title in", values, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleNotIn(List<String> values) {
            addCriterion("brand_title not in", values, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleBetween(String value1, String value2) {
            addCriterion("brand_title between", value1, value2, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandTitleNotBetween(String value1, String value2) {
            addCriterion("brand_title not between", value1, value2, "brandTitle");
            return (Criteria) this;
        }

        public Criteria andBrandOffIsNull() {
            addCriterion("brand_off is null");
            return (Criteria) this;
        }

        public Criteria andBrandOffIsNotNull() {
            addCriterion("brand_off is not null");
            return (Criteria) this;
        }

        public Criteria andBrandOffEqualTo(String value) {
            addCriterion("brand_off =", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffNotEqualTo(String value) {
            addCriterion("brand_off <>", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffGreaterThan(String value) {
            addCriterion("brand_off >", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffGreaterThanOrEqualTo(String value) {
            addCriterion("brand_off >=", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffLessThan(String value) {
            addCriterion("brand_off <", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffLessThanOrEqualTo(String value) {
            addCriterion("brand_off <=", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffLike(String value) {
            addCriterion("brand_off like", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffNotLike(String value) {
            addCriterion("brand_off not like", value, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffIn(List<String> values) {
            addCriterion("brand_off in", values, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffNotIn(List<String> values) {
            addCriterion("brand_off not in", values, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffBetween(String value1, String value2) {
            addCriterion("brand_off between", value1, value2, "brandOff");
            return (Criteria) this;
        }

        public Criteria andBrandOffNotBetween(String value1, String value2) {
            addCriterion("brand_off not between", value1, value2, "brandOff");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}